#include "StdAfx.h"
#include "ReceivedDataRecord.h"

using namespace CC3501_Main_GUI;

// Constructor
ReceivedDataRecord::ReceivedDataRecord(
		UInt16 newIndex, 
		UInt16 newShakerAValue, 
		UInt16 newShakerBValue,
		UInt16 newAccelerometerAValue,
		UInt16 newAccelerometerBValue,
		UInt16 newAccelerometerCValue
) {
	this->index = newIndex;
	this->shakerAValue = newShakerAValue;
	this->shakerBValue = newShakerBValue;
	this->accelerometerAValue = newAccelerometerAValue;
	this->accelerometerBValue = newAccelerometerBValue;
	this->accelerometerCValue = newAccelerometerCValue;
}

// Get index
UInt16 ReceivedDataRecord::getIndex(void) {
	return this->index;
}

// Get Shaker A Value
UInt16 ReceivedDataRecord::getShakerAValue(void) {
	return this->shakerAValue;
}

// Get Shaker B Value
UInt16 ReceivedDataRecord::getShakerBValue(void) {
	return this->shakerBValue;
}

// Get Accelerometer A Value
UInt16 ReceivedDataRecord::getAccelerometerAValue(void) {
	return this->accelerometerAValue;
}

// Get Accelerometer B Value
UInt16 ReceivedDataRecord::getAccelerometerBValue(void) {
	return this->accelerometerBValue;
}

// Get Accelerometer C Value
UInt16 ReceivedDataRecord::getAccelerometerCValue(void) {
	return this->accelerometerCValue;
}
